Optimal. Leaf size=147 \[ \frac {1235}{448} \left (2 x^2-x+3\right )^{5/2} x^2+\frac {24499 \left (2 x^2-x+3\right )^{5/2} x}{10752}+\frac {73861 \left (2 x^2-x+3\right )^{5/2}}{215040}+\frac {24293 (1-4 x) \left (2 x^2-x+3\right )^{3/2}}{196608}+\frac {558739 (1-4 x) \sqrt {2 x^2-x+3}}{1048576}+\frac {25}{16} \left (2 x^2-x+3\right )^{5/2} x^3+\frac {12850997 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2097152 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {1661, 640, 612, 619, 215} \[ \frac {25}{16} \left (2 x^2-x+3\right )^{5/2} x^3+\frac {1235}{448} \left (2 x^2-x+3\right )^{5/2} x^2+\frac {24499 \left (2 x^2-x+3\right )^{5/2} x}{10752}+\frac {73861 \left (2 x^2-x+3\right )^{5/2}}{215040}+\frac {24293 (1-4 x) \left (2 x^2-x+3\right )^{3/2}}{196608}+\frac {558739 (1-4 x) \sqrt {2 x^2-x+3}}{1048576}+\frac {12850997 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2097152 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 612
Rule 619
Rule 640
Rule 1661
Rubi steps
\begin {align*} \int \left (3-x+2 x^2\right )^{3/2} \left (2+3 x+5 x^2\right )^2 \, dx &=\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}+\frac {1}{16} \int \left (3-x+2 x^2\right )^{3/2} \left (64+192 x+239 x^2+\frac {1235 x^3}{2}\right ) \, dx\\ &=\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}+\frac {1}{224} \int \left (3-x+2 x^2\right )^{3/2} \left (896-1017 x+\frac {24499 x^2}{4}\right ) \, dx\\ &=\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}+\frac {\int \left (-\frac {30489}{4}+\frac {73861 x}{8}\right ) \left (3-x+2 x^2\right )^{3/2} \, dx}{2688}\\ &=\frac {73861 \left (3-x+2 x^2\right )^{5/2}}{215040}+\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}-\frac {24293 \int \left (3-x+2 x^2\right )^{3/2} \, dx}{12288}\\ &=\frac {24293 (1-4 x) \left (3-x+2 x^2\right )^{3/2}}{196608}+\frac {73861 \left (3-x+2 x^2\right )^{5/2}}{215040}+\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}-\frac {558739 \int \sqrt {3-x+2 x^2} \, dx}{131072}\\ &=\frac {558739 (1-4 x) \sqrt {3-x+2 x^2}}{1048576}+\frac {24293 (1-4 x) \left (3-x+2 x^2\right )^{3/2}}{196608}+\frac {73861 \left (3-x+2 x^2\right )^{5/2}}{215040}+\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}-\frac {12850997 \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx}{2097152}\\ &=\frac {558739 (1-4 x) \sqrt {3-x+2 x^2}}{1048576}+\frac {24293 (1-4 x) \left (3-x+2 x^2\right )^{3/2}}{196608}+\frac {73861 \left (3-x+2 x^2\right )^{5/2}}{215040}+\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}-\frac {\left (558739 \sqrt {\frac {23}{2}}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{2097152}\\ &=\frac {558739 (1-4 x) \sqrt {3-x+2 x^2}}{1048576}+\frac {24293 (1-4 x) \left (3-x+2 x^2\right )^{3/2}}{196608}+\frac {73861 \left (3-x+2 x^2\right )^{5/2}}{215040}+\frac {24499 x \left (3-x+2 x^2\right )^{5/2}}{10752}+\frac {1235}{448} x^2 \left (3-x+2 x^2\right )^{5/2}+\frac {25}{16} x^3 \left (3-x+2 x^2\right )^{5/2}+\frac {12850997 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{2097152 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 75, normalized size = 0.51 \[ \frac {4 \sqrt {2 x^2-x+3} \left (688128000 x^7+525926400 x^6+2025840640 x^5+2061273088 x^4+2728413312 x^3+1799647136 x^2+1619403428 x+439831323\right )+1349354685 \sqrt {2} \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{440401920} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 88, normalized size = 0.60 \[ \frac {1}{110100480} \, {\left (688128000 \, x^{7} + 525926400 \, x^{6} + 2025840640 \, x^{5} + 2061273088 \, x^{4} + 2728413312 \, x^{3} + 1799647136 \, x^{2} + 1619403428 \, x + 439831323\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {12850997}{8388608} \, \sqrt {2} \log \left (4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 83, normalized size = 0.56 \[ \frac {1}{110100480} \, {\left (4 \, {\left (8 \, {\left (4 \, {\left (16 \, {\left (20 \, {\left (120 \, {\left (140 \, x + 107\right )} x + 49459\right )} x + 1006481\right )} x + 21315729\right )} x + 56238973\right )} x + 404850857\right )} x + 439831323\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {12850997}{4194304} \, \sqrt {2} \log \left (-2 \, \sqrt {2} {\left (\sqrt {2} x - \sqrt {2 \, x^{2} - x + 3}\right )} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 117, normalized size = 0.80 \[ \frac {25 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x^{3}}{16}+\frac {1235 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x^{2}}{448}+\frac {24499 \left (2 x^{2}-x +3\right )^{\frac {5}{2}} x}{10752}-\frac {12850997 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{4194304}+\frac {73861 \left (2 x^{2}-x +3\right )^{\frac {5}{2}}}{215040}-\frac {558739 \left (4 x -1\right ) \sqrt {2 x^{2}-x +3}}{1048576}-\frac {24293 \left (4 x -1\right ) \left (2 x^{2}-x +3\right )^{\frac {3}{2}}}{196608} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 138, normalized size = 0.94 \[ \frac {25}{16} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x^{3} + \frac {1235}{448} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x^{2} + \frac {24499}{10752} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} x + \frac {73861}{215040} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {5}{2}} - \frac {24293}{49152} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} x + \frac {24293}{196608} \, {\left (2 \, x^{2} - x + 3\right )}^{\frac {3}{2}} - \frac {558739}{262144} \, \sqrt {2 \, x^{2} - x + 3} x - \frac {12850997}{4194304} \, \sqrt {2} \operatorname {arsinh}\left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) + \frac {558739}{1048576} \, \sqrt {2 \, x^{2} - x + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (2\,x^2-x+3\right )}^{3/2}\,{\left (5\,x^2+3\,x+2\right )}^2 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (2 x^{2} - x + 3\right )^{\frac {3}{2}} \left (5 x^{2} + 3 x + 2\right )^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________